GetDataFromFile Method

Syntax

Context.Session.GetDataFromFile as L (Key as C, ByRef Value as B, Remove as L = .F.)

Context.Session.GetDataFromFile as L (ByRef Value as B, Key as C, Remove as L = .F.)

Arguments

KeyCharacter

The key of the session file to be retrieved.

ValueBinary

A reference to a blob variable to receive the contents of the session file.

RemoveLogical

A setting of .T. or .F. to remove the item from session storage after it has been retrieved. This is optional and defaults to .F..

Description

Gets the contents of a file previously stored in the current session and identified by the key value.

Discussion

Context.Session.GetDataFromFile() gets the contents of a file previously stored in the current session and identified by the key value. Check Context.Session.CallResult.Success before using the return value.